<a <?php echo $arrData['rel'];?> class="<?php echo $arrData['class']; ?>"  href="<?php echo $arrData['href']; ?>" title="<?php echo $arrData['title'] ?>" ><?php echo $arrData['content'] ?></a>
<script language="javascript" type="text/javascript">
/* <![CDATA[ */
jQuery(document).ready(function() {
if( ! jQuery("a.<?php echo $arrData['class']; ?>").fancybox({
			hideOnContentClick: false,
			<?php if($arrData['onopen'] != "") echo "callbackOnShow: ".$arrData['onopen'].","; ?>
			<?php if($arrData['onclose'] != "") echo "callbackOnClose: ".$arrData['onclose'].","; ?>
			zoomSpeedIn: <?php echo $arrData['zoomSpeedIn']; ?>,
			zoomSpeedOut: <?php echo $arrData['zoomSpeedOut']; ?>,
			overlayShow: <?php echo $arrData['overlayShow']; ?>,
			overlayOpacity: <?php echo $arrData['overlayOpacity']; ?>,
			centerOnScroll: <?php echo $arrData['centerOnScroll']; ?>,
			frameWidth: <?php echo $arrData['frameWidth']; ?>,
			frameHeight: <?php echo $arrData['frameHeight']; ?> }) ) 
	jQuery("a.<?php echo $arrData['class']; ?>").fancybox();
});
/* ]]> */
</script>